﻿

namespace Liger.Web.UI
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Liger.Web.Common;
    using Liger.Web.Common.Extensions;

    public class GridRowSettings
    {
        /// <summary>
        /// 是否固定单元格(行)的高度
        /// </summary>
        public bool? FixedCellHeight
        {
            get;
            set;
        }
        /// <summary>
        /// 是否允许反选行
        /// </summary>
        public bool? AllowUnSelectRow
        {
            get;
            set;
        }

        /// <summary>
        /// 是否应有间隔行效果
        /// </summary>
        public bool? AlternatingRow
        {
            get;
            set;
        }

        /// <summary>
        /// 行经过时附加CSS类名
        /// </summary>
        public string MouseoverRowCssClass
        {
            get;
            set;
        }
        /// <summary>
        /// 行自定义属性渲染器(包括style，也可以定义)
        /// </summary>
        public Func<string> RowAttrRender
        {
            get;
            set;
        }
    }
}
